<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="tag" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/resources/css/form.css"
	type="text/css" />
</head>

<div class="details">
	<c:choose>
		<c:when test="${not empty manager}">
			<h2>
				<tag:message code="headers.managerHeaderDetails" />
			</h2>
			<tag:message code="manager.username" /> : ${manager.username}<br />
			<tag:message code="manager.name" /> : ${manager.name}<br />
			<tag:message code="manager.surname" /> : ${manager.surname}<br />
			<tag:message code="manager.emailAdress" /> : ${manager.emailAdress}<br />
			<tag:message code="manager.numberOfFreeDays" /> : ${manager.numberOfFreeDays}<br />
			<tag:message code="manager.telephoneNumber" /> : ${manager.telephoneNumber}<br />
		</c:when>
		<c:otherwise> Can't find manager </c:otherwise>
	</c:choose>
</div>
</html>